package com.mydubbo.rpc.netty;

import org.jboss.netty.channel.Channel;

import com.mydubbo.rpc.Sender;

public class NettySender implements Sender {
	
	private Channel channel;

	public NettySender(Channel channel) {
		super();
		this.channel = channel;
	}
	
	@Override
	public void sendMessage(String message) {
		channel.write(message);
	}

}
